package cn.stylefeng.guns.modular.business.neo4j.repository;

import cn.stylefeng.guns.modular.business.neo4j.entity.Ruin;
import org.springframework.data.neo4j.repository.Neo4jRepository;
import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

public interface RuinRepository extends Neo4jRepository<Ruin,Long> {
    List<Ruin> findAllByTitle(String title);
    List<Ruin> findAllByTitleLike(String title);
}
